<?php
namespace submodule\widgets\datetime;
use Yii;
use base\YiiMobo;

class datetimeExtend{

    public $models;
    public $data;
    public $modelid;
	public $action;

    function __construct($models, $data, $modelid, $action) {
        $this->models = $models;
        $this->modelid = $modelid;
        $this->data = $data;
		$this->action = $action;
    }


    public function getData($fieldid, $field, $data){
        $this->data = $data ? $data : $this->data;
        return isset($this->data[$field]) ? $this->data[$field] : NULL;
	}
	
	
    

	
}
